﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 华视身份证读卡器测试
{
    internal class Program
    {
        static async Task Main(string[] args)
        {
            ReadCardHelper readCardHelper = new ReadCardHelper();

            while (true)
            {
                 
              var sfz =   readCardHelper.ReadCard();
                if(sfz!=null)   
                    Console.WriteLine(sfz);
               await Task.Delay(800);
            }
           

            Console.Read();
        }
    }
}
